package com.ruoyi.print.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单个图片任务对象 single_photo
 * 
 * @author ruoyi
 * @date 2025-08-03
 */
public class SinglePhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 照片id */
    private Long singlePhotoId;

    /** 照片任务id */
    @Excel(name = "照片任务id")
    private Long photoTaskId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setSinglePhotoId(Long singlePhotoId) 
    {
        this.singlePhotoId = singlePhotoId;
    }

    public Long getSinglePhotoId() 
    {
        return singlePhotoId;
    }

    public void setPhotoTaskId(Long photoTaskId) 
    {
        this.photoTaskId = photoTaskId;
    }

    public Long getPhotoTaskId() 
    {
        return photoTaskId;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("singlePhotoId", getSinglePhotoId())
            .append("photoTaskId", getPhotoTaskId())
            .append("imgUrl", getImgUrl())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
